<!DOCTYPE html>

<head>
	<title><?php if($data[title]=="") { echo HEAD;}else{echo $data[title];} ?></title>
        <meta charset="utf-8">
        <BASE href="<?php echo BASE_URL; ?>" />
        <meta content="width=device-width, initial-scale=1.0" name="viewport">
         <meta name="keywords" content="<?php if($data[keyword]=="") { echo KEYWORD;}else{echo $data[keyword];} ?>" />
		<meta name="description" content="<?php if($data[mota]=="") { echo DES;}else{echo $data[mota];} ?>" />
		<meta content="index,follow" name="robots" />
        <meta content="index,follow" name="googlebot" />

        <link href="public/bootstrap/css/bootstrap.css" rel="stylesheet">
        <link href="public/bootstrap/cssbootstrap-responsive.css" rel="stylesheet">
        <link href="public/bootstrap/css/mystyle.css" rel="stylesheet">
         <link rel="stylesheet" type="text/css" href="public/exts/select2-master/select2.css">
          <script src="http://code.jquery.com/jquery.js"></script>
        <script src="public/bootstrap/js/bootstrap.min.js"></script>
 		<script src="public/exts/select2-master/select2.js"></script>
		<link rel="stylesheet" type="text/css" href="public/exts/select2-master/select2.css">
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
   
         <link rel="stylesheet" type="text/css" href="public/exts/select2-master/select2.css">
   		
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

 <script>
        $(document).ready(function() { $("#gamelist").select2(); });
		function choosegame(link){
		location.href=link;
		}
    </script>  
 
</head>
<body>

 <div class="navbar">
              <div class="navbar-inner">
                <div class="container">
            
                  <div class="nav-collapse collapse navbar-responsive-collapse">
                  <ul class="nav navbar-nav">
    <li ><a href="#"><i class="icon-home"></i> Home</a></li>
 
  </ul>
               
                 
                  
<form class="navbar-search pull-left" action="">
                   <select  data-placeholder="Nhập Tên Game..." id="gamelist" name="gamelist"    onchange="choosegame(this.value)"  >
					<option value=""></option>
                    <?php
					$db=new db;
					$db->connect();
					$db->query("select cat_id,cat_title from news_category");
					$dt=$db->fetchAll();
					$db->close();
					
					?>
                    
                    	<?php
						foreach($dt as $row){
						?>
                          <option value='<?php echo HOME."wap/".$row['cat_id']; ?>'   >					
									<?php echo $row['cat_title']; ?></option> 
                        <?php	
						}
						 ?>
                       
					                          	</select> 
                  
                    </form>

         
                  </div><!-- /.nav-collapse -->
                </div>
              </div><!-- /navbar-inner -->
            </div><!-- /navbar -->

<div style="height:10px">&nbsp;</div>





    <div class="wide_cont">

 <div class="row row-fluid"> 
 
 <!-- ROW HEADER -->
